<?php
namespace app\admin\validate;

use think\Validate;

class Menu extends Validate
{
    protected $rule = [
        'title'  =>  'require',
        'url'  =>  'require',
    ];

    protected $message  =   [
        'title.require' => -10010, 
        'url.require' => -10011, 
    ];


}